package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

/**
 * @author ：lintao
 * @date ：Created in 2020/12/3
 * @description ：会员服务接口
 * @version: 1.0
 */
public interface MemberService {
    public Member findByTelephone(String telephone);
    public void add(Member member);
    public List<Integer> finMemberCountByMonth(List<String> month);
    public List<Map<String, Object>> findMemberCountBySex();
    public List<Map<String, Object>> findMemberCountByAge();
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public void delete(Integer id);
    public Member findById(Integer id);
    public void edit(Member member);
}
